package sg.edu.nus.iss.vmcs.store;

public abstract class ProductBrand extends StoreObject {

	private int price;

	/**
	 * Default constructor of the ProductBrand
	 */
	public ProductBrand() {
	}

	/**
	 * Constructor that creates a ProductBrand with name and price
	 * 
	 * @param name
	 *            the name of the ProductBrand
	 * @param price
	 *            the price of the ProductBrand
	 */
	public ProductBrand(String name, int price) {
		this.price = price;
		this.name = name;
	}

	/**
	 * Setter method for Price
	 * 
	 * @param p
	 *            the new price in cents which the ProductBrand
	 */
	public void setPrice(int p) {
		price = p;
	}

	/**
	 * Get the price of the ProductBrand
	 * 
	 * @return the price of the ProductBrand
	 */
	public int getPrice() {
		return (price);
	}
	
}
